import requests from '@/utils/request'

export const GetClosePositionOverView = (fn, start, end) => {
  return requests({
    url: '/v1/exDoctor/exclose/overview/',
    method: 'get',
    params: { fn, start, end }
  })
}

export const GetClosePositionBsProfit = (fn, start, end) => {
  return requests({
    url: '/v1/exDoctor/exclose/bsProfit/',
    method: 'get',
    params: { fn, start, end }
  })
}

export const GetClosePositionVarietyProfit = (fn, start, end) => {
  return requests({
    url: '/v1/exDoctor/exclose/varietyProfit/',
    method: 'get',
    params: { fn, start, end }
  })
}

export const GetClosePositionPeriodType = (fn, start, end) => {
  return requests({
    url: '/v1/exDoctor/exclose/periodType/',
    method: 'get',
    params: { fn, start, end }
  })
}